package com.ibeeking.found.cms.service.common.vo;

import com.alibaba.fastjson.JSONObject;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * @ClassName PageModuleParam
 * @Description
 * @Author ibeeking
 * @Date 2021-05-08 16:03
 **/
@Data
@Accessors(chain = true)
public class PageModuleView implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long id;

    /**
     * 行业类型:mall=电商平台；mdi=制造业
     */
    private String industry;
    private String industryName;
    /**
     * 页面id
     */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long pageId;

    /**
     * 页面组件类型
     */
    private String type;

    /**
     * 页面组件内容
     */
    private JSONObject dataField;

    private List<? extends PageModuleDataBaseVO> items;

    /**
     * 排序
     */
    private Integer sort;

    List<String> msgs;


}
